<ion-view view-title="注册" ng-init="">
  <ion-content class="padding">
    <form>
      <span>手机</span>
      <input type="text" name="" placeholder="填写手机号" style="width: 100%;border:1px solid #ccc;" ng-model="user.phone">
      <span>验证码</span>
      <input type="text" name="" placeholder="填写验证码" style="width: 100%;border:1px solid #ccc;" ng-model="user.token">
      <button class="btn btn-primary" ng-click="getToken()">获取验证码</button>
    </form>
  </ion-content>
</ion-view>